import { useAxios } from "@/hooks/useAxios";

export function getPersonNum(parameter: any) {
  return useAxios({
    url: '/hussarApi/qwWebService/personNum',
    method: 'POST',
    data: parameter
  })
}

export function getAgeNum(parameter: any) {
  return useAxios({
    url: '/hussarApi/qwWebService/ageNum',
    method: 'POST',
    data: parameter
  })
}
export function getScaleNum(parameter: any) {
  return useAxios({
    url: '/hussarApi/qwWebService/sexScale',
    method: 'POST',
    data: parameter
  })
}
export function getPartyStadingNum(parameter: any) {
  return useAxios({
    url: '/hussarApi/qwWebService/partyAgeNum',
    method: 'POST',
    data: parameter
  })
}

export function getEducationNum(parameter: any) {
  return useAxios({
    url: '/hussarApi/qwWebService/educationNum',
    method: 'POST',
    data: parameter
  })
}
export function getOrgNum(parameter: any) {
  return useAxios({
    url: '/hussarApi/qwWebService/getOrgNums',
    method: 'POST',
    data: parameter
  })
}


export function getMap(parameter: any) {
  return useAxios({
    url: '/hussarApi/qwWebService/getMapData',
    method: 'POST',
    data: parameter
  })
}

export function getExcellentNums(parameter: any) {
  return useAxios({
    url: '/hussarApi/qwWebService/getExcellentNums',
    method: 'POST',
    data: parameter
  })
}